package tgc.edu.zz.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import tgc.edu.zz.dao.PersionDAO;
import tgc.edu.zz.utils.CommonService;
import tgc.edu.zz.vo.PersionVo;

@Service
public class PersionService extends CommonService<PersionVo, Integer>{

	@Autowired
	private PersionDAO dao;
	
	public PersionVo findByUsernameAndPassword(String username, String password) {
		
		return dao.findByUsernameAndPassword(username,password);
	}

}
